<%--
  Created by IntelliJ IDEA.
  User: LENOVO
  Date: 2018/7/13
  Time: 10:10
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <jsp:include page="/WEB-INF/views/commons/commons.jsp"></jsp:include>
  <script type="text/javascript" src="/static/js/plugins/artDialog/jquery.artDialog.js?skin=default"></script>
  <script type="text/javascript" src="/static/js/plugins/artDialog/plugins/iframeTools.js"></script>
  <script src="/static/js/system/salesReport.js"></script>
<head>
    <title>销售报表</title>
</head>
<body>
<%--数据表格--%>
<table id="sales_dataGrid"></table>


<div id="tb">
    <form id="salesForm">
   保险机构: <input name="companyId"  class="easyui-combobox clean" prompt="请选择"
            style="width: 120px"
           data-options="panelHeight:'auto',valueField:'id',textField:'name',url:'/company/selectAll'" />

    险种:<input name="productId" class="easyui-combobox clean" prompt="请选择"
              style="width: 120px"
           data-options="panelHeight:'auto',valueField:'id',textField:'name',url:'/product/selectAll'" />

    保单日期:<input name="beginDate" style="width: 120px" type="text" class= "easyui-datebox dateclean"/> -
    <input  name="endDate" style="width: 120px" type="text" class= "easyui-datebox dateclean" />

    分组:<select name="groupByType" class="easyui-combobox clean" data-options="panelHeight:'auto'"  style="width:126px;">
        <option value="sm.username">销售人员</option>
        <option value="c.name">保险机构</option>
        <option value="p.name">保险产品</option>
        <option value="DATE_FORMAT(r.vdate,'%Y-%m')">销售日期(月)</option>
        <option value="DATE_FORMAT(r.vdate,'%Y-%m-%d')">销售日期(日)</option>
    </select>

    <%--查询 刷新 柱状图 饼状图 按钮--%>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true" data-cmd="search">查询</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reload">刷新</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-bar',plain:true" data-cmd="bar">柱状图</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-pie',plain:true" data-cmd="pie">饼状图</a>
    </form>
</div>

</body>
</html>
